#include <Windows.h>
#include <tchar.h>
#include <stdio.h>

BOOL CALLBACK DllMain(HANDLE pDllHandle, unsigned nReason, void * pReserved)
{
	switch (nReason)
	{
		case DLL_PROCESS_ATTACH:
		{
			MessageBox(NULL, _T("TroyDll"), _T("DLL"), MB_OK);

			break;
		}
		case DLL_PROCESS_DETACH:
		{
			break;
		}
		case DLL_THREAD_ATTACH:
		{
			break;
		}
		case DLL_THREAD_DETACH:
		{
			break;
		}
	}

	return TRUE;
}